<template>
  <base-layout >
    <template v-slot:aside-header>
      <teacher-aside-header></teacher-aside-header>
    </template>
    <template v-slot:aside-main>
      <teacher-nav></teacher-nav>
    </template>
    <template v-slot:main>
      <router-view></router-view>
    </template>
  </base-layout>
</template>

<script>
import BaseLayout from "@/components/BaseUI/BaseLayout";
import TeacherAsideHeader from "@/components/teacher/TeacherAsideHeader";
import TeacherNav from "@/components/teacher/TeacherNav";
export default {
  name: "TeacherLayout",
  components: {TeacherNav, TeacherAsideHeader, BaseLayout},
  props:{
    tid:String
  },
  created() {
    this.$store.commit("setTeacherId",this.tid)
    this.$store.dispatch("flashDataForTeacher_student")
  }

}
</script>

<style scoped>

</style>